﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace RAD.Modules.AD.Services
{
    [StructLayout(LayoutKind.Sequential)]
    public class NETRESOURCE
    {
        public ResourceScope dwScope = 0;
        public ResourceType dwType = 0;
        public ResourceDisplayType dwDisplayType = 0;
        public ResourceUsage dwUsage = 0;
        public string lpLocalName = null;
        public string lpRemoteName = null;
        public string lpComment = null;
        public string lpProvider = null;
    };

    /// <summary>
    /// Структура для получения информации о рабочей станции
    /// </summary>
    [StructLayout(LayoutKind.Sequential)]
    public class WKSTAINFO100
    {
        public int wki100_platform_id = 0;
        public IntPtr wki100_computername;
        public IntPtr wki100_langroup;
        public int wki100_ver_major = 0;
        public int wki100_ver_minor = 0;
    }

}
